{% extends "base.html" %}
{% load url from future %}
{% load humanize %}
{% load i18n %}

{% block content %}
    <h1>{% trans 'Result list' %}</h1>
    {% for player in results %}
    <strong>{% trans 'Player' %} <a href="{% url 'show_player' player.id %}">{{ player }}</a></strong><br />
    {% for planet in player.get_planets %}
        <a href="{% url 'show_planet' planet.id %}">{{ planet.galaxy }}:{{ planet.ss }}:{{ planet.position }}</a> {{ planet.name }} {{ planet.last_update|naturaltime }}<br />
    {% endfor %}
    {% endfor %}

{% endblock %}
